package site.marqstree.smartbutler.application;

import android.app.Application;
import com.tencent.bugly.crashreport.CrashReport;
import cn.bmob.v3.Bmob;
import site.marqstree.smartbutler.util.StaticClass;

/*
 * 项目名: SmartButler
 * 包名: site.marqstree.smartbutler.application
 * 文件名: BaseApplication
 * 创建者: marqstree
 * 创建时间: 2019/12/27 11:16
 * 描述: TODO
 */
public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        //bugly初始化
        CrashReport.initCrashReport(getApplicationContext());

        //bmob初始化
        Bmob.initialize(this, StaticClass.BMOB_APP_ID);
    }
}